package com.hz.web.dao;

import java.util.List;
import java.util.Map;

import com.hz.web.entity.DepartmentEntity;

public interface DepartmentDao {

	/**
	 * 插入部门信息
	 * @param entity
	 * @return
	 */
	int adddDepartment(DepartmentEntity entity);
	
	/**
	 * 查询部门信息
	 * @param parmsMap
	 * @return
	 */
	List<DepartmentEntity> queryDepartment(Map<String, Object> parmsMap);
	/**
	 * 查询部门信息总条数
	 * @param parmsMap
	 * @return
	 */
	int queryDepartmentCount (Map<String, Object> parmsMap);
	
	/**
	 * 修改信息
	 * @param parmsMap
	 * @return
	 */
	int updateDepartment (Map<String, Object> parmsMap);
}
